@layout("/common/_container.html",{js:["/assets/price/price_edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="priceForm" lay-filter="priceForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>

                <div class="layui-form-item">
                    <label class="layui-form-label">产品编码<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <!--<input id="productOrderId" name="productOrderId" placeholder="请输入产品编码Id" type="text" class="layui-input" lay-verify="required" required/>-->
                        <input id="productOrderId" name="productOrderId" type="hidden">
                        <input id="name_1" placeholder="请选择产品编码" type="text" class="layui-input"
                               lay-verify="required" required autocomplete="off"/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">经销商等级<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <!--<input id="levelId" name="levelId" placeholder="请输入经销商等级" type="text" class="layui-input" lay-verify="required" required/>-->
                        <select class="layui-select" name="levelId" lay-verify="required" required>
                            <option value="" selected>请选择经销商等级</option>
                            @for(item in levels){
                            <option value="${item.id}">${item.levelName}</option>
                            @}
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">产品价格<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="productPrice" name="productPrice" placeholder="请输入产品价格" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>

@}